import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css'

import { Swipe, SwipeItem, Tab, Tabs, Grid, GridItem, Sidebar, SidebarItem, SubmitBar,
    Collapse, CollapseItem, Card, Lazyload, Badge, Divider,Image as VanImage, Button
    , Tag,Form, Field, CellGroup,Checkbox, CheckboxGroup,SwipeCell,Stepper,Icon,AddressList
    ,AddressEdit,Popup,Uploader,Col,Row,Dialog,List,PullRefresh  } from 'vant';

createApp(App)
.use(Swipe).use(SwipeItem).use(Tab).use(Tabs).use(Grid).use(GridItem).use(Sidebar).use(SidebarItem).use(Collapse)
.use(CollapseItem).use(Card).use(Lazyload,{loading:require('./assets/logo.png')}).use(Badge).use(Divider).use(VanImage)
.use(Button).use(Tag).use(Form).use(Field).use(CellGroup).use(Checkbox).use(CheckboxGroup).use(SwipeCell).use(Stepper)
.use(SubmitBar).use(Icon).use(AddressList).use(AddressEdit).use(Popup).use(Uploader).use(Col).use(Row).use(Dialog)
.use(List).use(PullRefresh)
.use(store).use(router).mount('#app')
